package com.ruoyi.edh.service;

import com.ruoyi.edh.domain.EdhShoppingAddress;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * 易订货-收货地址Service接口
 * 
 * @author xxx
 * @date 2020-09-02
 */
public interface IEdhShoppingAddressService 
{
    /**
     * 查询易订货-收货地址
     * 
     * @param id 易订货-收货地址ID
     * @return 易订货-收货地址
     */
    public EdhShoppingAddress selectEdhShoppingAddressById(Long id);

    /**
     * 查询易订货-收货地址列表
     * 
     * @param edhShoppingAddress 易订货-收货地址
     * @return 易订货-收货地址集合
     */
    public List<EdhShoppingAddress> selectEdhShoppingAddressList(EdhShoppingAddress edhShoppingAddress);

    /**
     * 新增易订货-收货地址
     * 
     * @param edhShoppingAddress 易订货-收货地址
     * @return 结果
     */
    @Transactional(rollbackFor = Exception.class)
    public int insertEdhShoppingAddress(EdhShoppingAddress edhShoppingAddress);

    /**
     * 修改易订货-收货地址
     * 
     * @param edhShoppingAddress 易订货-收货地址
     * @return 结果
     */
    @Transactional(rollbackFor = Exception.class)
    public int updateEdhShoppingAddress(EdhShoppingAddress edhShoppingAddress);

    /**
     * 批量删除易订货-收货地址
     * 
     * @param ids 需要删除的易订货-收货地址ID
     * @return 结果
     */
    public int deleteEdhShoppingAddressByIds(String[] ids);

    /**
     * 删除易订货-收货地址信息
     * 
     * @param id 易订货-收货地址ID
     * @return 结果
     */
    public int deleteEdhShoppingAddressById(Long id);
}
